//cnpm install --save styled-components 带样式的原生组件开发
import React ,{ Component } from 'react'
//新方式引入全局
import {GlobalStyle} from "../style.js";
import {GlobalStyleIcon} from "../statics/iconfont/iconfont.js";
import { Provider } from 'react-redux';
import store from "../styledStore";

import Head from "./head";


export default class App extends Component{
	constructor(props) {
	  super(props);
	  this.state = {};
	}

	render(){
		return(
			<Provider store={store}>
				{/*此处单标签*/}
				<GlobalStyle />
				<GlobalStyleIcon/>
				<Head />
			</Provider>
		)
	}
}
